# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bluez-firmware
pkgver=1.2
pkgrel=1
pkgdesc="Firmware for Broadcom BCM203x Blutonium devices"
url="http://www.bluez.org/"
arch="all"
license="GPL-2.0-or-later"
source="http://bluez.sf.net/download/bluez-firmware-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--libdir=/lib
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
15db2f9d38a496882e4cc3754af1e58aa99e1b849f2066c541d76c66a8ffdc5532799fe1fd473cfc158bf5ea86a46687716cbcf83c6dcac0ce66d97d679648dd  bluez-firmware-1.2.tar.gz
"
